Skip to content

Conversation

@warwickschroeder
Copy link

@warwickschroeder warwickschroeder commented Nov 24, 2025

Addresses: Particular/ServicePulse#1723
Documentation: Particular/docs.particular.net#7947

  • Supports JWT bearer tokens, OpenID Connect, OAuth2.0
  • Adds config for ServiceControl authentication. Defaults to disabled
  • Adds config for ServicePulse authentication. Driven by ServiceControl auth
  • Adds config for direct HTTPS hosting (kestral). Defaults to disabled
  • Adds config for HTTPS redirect and HSTS
  • Adds config for stricter Forward Headers (reverse proxy). Defaults to "All" headers and "Any" proxies
  • Adds config for stricter CORS. Defaults to "Allow Any Origin"
  • Add authentication config to Throughput collector
  • Add markdown for manual testing and verification
  • Add unit and acceptance tests for all major security configuration scenarios

@jasontaylordev jasontaylordev force-pushed the genxp-3600-add-authentication branch from de7cd32 to 45f7db3 Compare December 1, 2025 03:40
@warwickschroeder warwickschroeder changed the title Add initial authentication to ServiceControl Add authentication and SSL to ServiceControl Dec 3, 2025
@jasontaylordev jasontaylordev force-pushed the genxp-3600-add-authentication branch from 92500bc to 5e86040 Compare December 5, 2025 01:41
Copy link
Author

@warwickschroeder warwickschroeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im surprised these are pre-existing. What are they being used for in ServiceControl? Metric collection?

AWS token and Azure Identity packages

@jasontaylordev
Copy link
Contributor

Im surprised these are pre-existing. What are they being used for in ServiceControl? Metric collection?

AWS token and Azure Identity packages

Assuming you're referring to this commit. In this case the Azure.Identity package is referenced by ServiceControl.Transports.ASBS, which is a transport adapter for Azure Service Bus.

@warwickschroeder
Copy link
Author

Ah that makes sense. Thanks

Assuming you're referring to this commit. In this case the Azure.Identity package is referenced by ServiceControl.Transports.ASBS, which is a transport adapter for Azure Service Bus.

@warwickschroeder warwickschroeder changed the title Add authentication and SSL to ServiceControl Add authentication and SSL/TLS to ServiceControl Dec 10, 2025
@warwickschroeder warwickschroeder marked this pull request as ready for review December 11, 2025 01:54
@jasontaylordev jasontaylordev force-pushed the genxp-3600-add-authentication branch from eb9853e to 49056a0 Compare January 8, 2026 06:36
@johnsimons
Copy link
Member

@warwickschroeder, I believe I have mentioned this before, we need to add telemetry so we know what customer configuration customers are using.
You can send this telemetry data via the usage report by adding it to the EnvironmentData in

EnvironmentInformation = new EnvironmentInformation { AuditServicesData = new AuditServicesData(auditServiceMetadata.Versions, auditServiceMetadata.Transports), EnvironmentData = brokerMetaData.Data }

I would expect us to send things like:

  • authentication is enabled/disabled
  • customers configured forward headers
  • customers are using a reverse proxy
  • customers configured hsts, redirect to https, ...
  • what authentication provider they use,....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants